package com.example.fabric.config;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Getter
@Setter
@ConfigurationProperties(prefix = "fabric-config")
@ToString
public class FabricConfig {
    private List<OrgConfig> orgList;
    private List<NodeInfo> ordererList;
    private String channelName;
    private String chaincodeName;
    private Long txTimeout;
}
